package com.hilihili.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author xhc
 * @Date 2024/1/26 19:54
 * @Version 1.0
 */
@Data
public class FavoritesVideoDTO {
    private Long relateId;
    private Long favoritesId;
    private Long videoId;
    //收藏时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    private String title;
    private String nickName;
    private String img;
    private Integer views;
    private Integer stars;
    // 视频投稿时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date videoCreateTime;


    private Long userId;

    // 收藏时间
    private String collectTime;
    // 视频投稿时间
    private String contributeTime;
}
